Skip to content

Feature/auth methods#14

Open
dacort wants to merge 18 commits into
mainfrom
feature/auth-methods
Open

Feature/auth methods#14
dacort wants to merge 18 commits into
mainfrom
feature/auth-methods

Conversation

@dacort
Copy link
Copy Markdown
Contributor

@dacort dacort commented Apr 11, 2023

Description of changes:
Adds a new --profile option to bootstrap to allow you to specify the AWS profile you want to use.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lmouhib lmouhib force-pushed the feature/auth-methods branch from 9ce7108 to eeb6ccf Compare April 19, 2023 18:21
Copy link
Copy Markdown
Contributor Author

@dacort dacort left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few initial comments.

Comment on lines +5 to +6
AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ vars.AWS_SECRET_ACCESS_KEY }}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are these used for?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are used for unit tests, they allow to init the boto3 sessions. They contain dummy values.

Comment thread src/emr_cli/base/EmrBase.py Outdated
Comment thread src/emr_cli/base/EmrBase.py Outdated
Comment thread src/emr_cli/emr_cli.py Outdated
Comment on lines +156 to +159
@click.option(
"--profile",
help="The AWS profile to use for bootstraping the environment.",
)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The run command errors out as this is not passed in as an argument in def run() below.

lmouhib and others added 4 commits April 24, 2023 22:12
conventions fix

Co-authored-by: Damon P. Cortesi <d.lifehacker@gmail.com>
Lint

Co-authored-by: Damon P. Cortesi <d.lifehacker@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants